.class public Lcom/estrongs/android/view/music/b;
.super Ljava/lang/Object;
.source "MusicPlayerManager.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/view/music/b$f;
    }
.end annotation


# instance fields
.field private a:Lcom/estrongs/android/pop/app/f0;

.field private b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private c:Ljava/lang/String;

.field private d:Z

.field private e:Z

.field private f:Z

.field g:I

.field h:I

.field private i:Landroid/content/Context;

.field private j:Lcom/estrongs/android/view/music/b$f;

.field private k:Z

.field private l:Les/uo;

.field private m:Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;

.field private final n:Landroid/content/BroadcastReceiver;

.field private final o:Landroid/content/BroadcastReceiver;

.field private p:Landroid/content/ServiceConnection;


# direct methods
.method static constructor <clinit>()V
    .locals 0

    return-void
.end method

.method public constructor <init>()V
    .locals 3

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    .line 3
    iput-object v0, p0, Lcom/estrongs/android/view/music/b;->b:Ljava/util/List;

    const/4 v1, 0x0

    .line 4
    iput-boolean v1, p0, Lcom/estrongs/android/view/music/b;->d:Z

    .line 5
    iput-boolean v1, p0, Lcom/estrongs/android/view/music/b;->e:Z

    .line 6
    iput-boolean v1, p0, Lcom/estrongs/android/view/music/b;->f:Z

    const/4 v2, -0x1

    .line 7
    iput v2, p0, Lcom/estrongs/android/view/music/b;->g:I

    .line 8
    iput v2, p0, Lcom/estrongs/android/view/music/b;->h:I

    .line 9
    iput-object v0, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    .line 10
    iput-boolean v1, p0, Lcom/estrongs/android/view/music/b;->k:Z

    .line 11
    new-instance v0, Les/uo;

    invoke-direct {v0}, Les/uo;-><init>()V

    .line 12
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    .line 13
    new-instance v0, Lcom/estrongs/android/view/music/b$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/view/music/b$a;-><init>(Lcom/estrongs/android/view/music/b;)V

    iput-object v0, p0, Lcom/estrongs/android/view/music/b;->m:Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;

    .line 14
    new-instance v0, Lcom/estrongs/android/view/music/b$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/view/music/b$b;-><init>(Lcom/estrongs/android/view/music/b;)V

    iput-object v0, p0, Lcom/estrongs/android/view/music/b;->n:Landroid/content/BroadcastReceiver;

    .line 15
    new-instance v0, Lcom/estrongs/android/view/music/b$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/view/music/b$c;-><init>(Lcom/estrongs/android/view/music/b;)V

    iput-object v0, p0, Lcom/estrongs/android/view/music/b;->o:Landroid/content/BroadcastReceiver;

    .line 16
    new-instance v0, Lcom/estrongs/android/view/music/b$d;

    invoke-direct {v0, p0}, Lcom/estrongs/android/view/music/b$d;-><init>(Lcom/estrongs/android/view/music/b;)V

    iput-object v0, p0, Lcom/estrongs/android/view/music/b;->p:Landroid/content/ServiceConnection;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/view/music/b;Lcom/estrongs/android/pop/app/f0;)Lcom/estrongs/android/pop/app/f0;
    .locals 0

    .line 2
    iput-object p1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    return-object p1
.end method

.method static synthetic a(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/view/music/b$f;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    return-object p0
.end method

.method static synthetic a(Lcom/estrongs/android/view/music/b;Les/uo;)Les/uo;
    .locals 0

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/view/music/b;->l:Les/uo;

    return-object p1
.end method

.method static synthetic a(Lcom/estrongs/android/view/music/b;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 5
    iput-object p1, p0, Lcom/estrongs/android/view/music/b;->c:Ljava/lang/String;

    return-object p1
.end method

.method private a(II)V
    .locals 2

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v0, :cond_0

    .line 19
    new-instance v0, Lcom/estrongs/android/view/music/b$e;

    invoke-direct {v0, p0, p1, p2}, Lcom/estrongs/android/view/music/b$e;-><init>(Lcom/estrongs/android/view/music/b;II)V

    .line 20
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 21
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v0, :cond_1

    iget-boolean v1, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v1, :cond_1

    .line 22
    invoke-virtual {v0, p1, p2}, Lcom/estrongs/android/view/music/b$f;->a(II)V

    :cond_1
    return-void
.end method

.method private a(Lcom/estrongs/android/pop/app/f0;)V
    .locals 1

    if-nez p1, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x0

    .line 8
    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/f0;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;)V

    .line 9
    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->s()Z

    move-result v0

    if-eqz v0, :cond_3

    :cond_2
    const/4 v0, 0x1

    .line 10
    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/f0;->a(Z)V

    goto :goto_0

    .line 11
    :cond_3
    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->a()V

    const/4 v0, 0x0

    .line 12
    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/app/f0;->a(Z)V

    .line 13
    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->y()V

    .line 14
    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->z()V

    .line 15
    iput-boolean v0, p0, Lcom/estrongs/android/view/music/b;->k:Z

    :goto_0
    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/view/music/b;II)V
    .locals 0

    .line 3
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/view/music/b;->a(II)V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/view/music/b;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/view/music/b;->e:Z

    return p0
.end method

.method static synthetic c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    return-object p0
.end method

.method static synthetic d(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/view/music/b;->m:Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;

    return-object p0
.end method

.method static synthetic e(Lcom/estrongs/android/view/music/b;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/view/music/b;->m()V

    return-void
.end method

.method private k()V
    .locals 4

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/view/music/b;->d:Z

    if-nez v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->i:Landroid/content/Context;

    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/estrongs/android/view/music/b;->i:Landroid/content/Context;

    const-class v3, Lcom/estrongs/android/pop/app/AudioPlayerService;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v2, p0, Lcom/estrongs/android/view/music/b;->p:Landroid/content/ServiceConnection;

    const/4 v3, 0x1

    invoke-virtual {v0, v1, v2, v3}, Landroid/content/Context;->bindService(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z

    .line 3
    iput-boolean v3, p0, Lcom/estrongs/android/view/music/b;->d:Z

    :cond_0
    return-void
.end method

.method private l()V
    .locals 2

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/view/music/b;->d:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/view/music/b;->d:Z

    .line 3
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->i:Landroid/content/Context;

    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->p:Landroid/content/ServiceConnection;

    invoke-virtual {v0, v1}, Landroid/content/Context;->unbindService(Landroid/content/ServiceConnection;)V
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_0
    return-void
.end method

.method private m()V
    .locals 7

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->b:Ljava/util/List;

    const/4 v1, 0x0

    if-eqz v0, :cond_2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->y()V

    .line 3
    invoke-static {}, Les/wo;->j()Les/wo;

    move-result-object v0

    invoke-virtual {v0}, Les/wo;->c()Les/to;

    move-result-object v0

    .line 4
    iget-wide v2, v0, Les/to;->a:J

    const-wide/16 v4, -0x1

    cmp-long v6, v2, v4

    if-nez v6, :cond_0

    .line 5
    invoke-virtual {v0}, Les/to;->a()V

    goto :goto_0

    .line 6
    :cond_0
    invoke-static {}, Les/wo;->j()Les/wo;

    move-result-object v0

    const/4 v2, 0x0

    invoke-virtual {v0, v2}, Les/wo;->b(Les/to;)V

    .line 7
    invoke-static {}, Les/wo;->j()Les/wo;

    move-result-object v0

    invoke-virtual {v0}, Les/wo;->c()Les/to;

    move-result-object v0

    :goto_0
    const/4 v2, 0x0

    .line 8
    :goto_1
    iget-object v3, p0, Lcom/estrongs/android/view/music/b;->b:Ljava/util/List;

    invoke-interface {v3}, Ljava/util/List;->size()I

    move-result v3

    if-ge v2, v3, :cond_1

    .line 9
    iget-object v3, p0, Lcom/estrongs/android/view/music/b;->b:Ljava/util/List;

    invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    invoke-virtual {v0, v3}, Les/to;->a(Ljava/lang/String;)V

    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    .line 10
    :cond_1
    iget-object v2, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v2, v0}, Lcom/estrongs/android/pop/app/f0;->a(Les/to;)Z

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->m()I

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->n()I

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->i()I

    move-result v0

    .line 14
    iget-object v2, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v2, :cond_4

    iget-boolean v3, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v3, :cond_4

    const/4 v3, 0x1

    .line 15
    invoke-virtual {v2, v0, v3}, Lcom/estrongs/android/view/music/b$f;->a(IZ)V

    goto :goto_2

    .line 16
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->k()Les/to;

    move-result-object v0

    if-eqz v0, :cond_3

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->m()I

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->n()I

    goto :goto_2

    .line 19
    :cond_3
    invoke-virtual {p0}, Lcom/estrongs/android/view/music/b;->g()V

    .line 20
    :cond_4
    :goto_2
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->l()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/view/music/b;->c:Ljava/lang/String;

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result v0

    if-eqz v0, :cond_7

    .line 22
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->g()I

    move-result v0

    .line 23
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v1

    if-eqz v1, :cond_5

    .line 24
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v1, :cond_9

    iget-boolean v2, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v2, :cond_9

    .line 25
    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->a(I)V

    .line 26
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->e(I)V

    goto :goto_4

    .line 27
    :cond_5
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/f0;->s()Z

    move-result v1

    if-eqz v1, :cond_6

    .line 28
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v1, :cond_9

    iget-boolean v2, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v2, :cond_9

    .line 29
    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->e(I)V

    goto :goto_4

    .line 30
    :cond_6
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v1, :cond_9

    iget-boolean v2, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v2, :cond_9

    .line 31
    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->e(I)V

    .line 32
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->b(I)V

    goto :goto_4

    .line 33
    :cond_7
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->k()Les/to;

    move-result-object v0

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    .line 34
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->k()Les/to;

    move-result-object v0

    invoke-virtual {v0}, Les/to;->d()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_9

    .line 35
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->g()I

    move-result v0

    const/4 v2, -0x1

    if-ne v0, v2, :cond_8

    goto :goto_3

    :cond_8
    move v1, v0

    .line 36
    :goto_3
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v0, :cond_9

    iget-boolean v2, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v2, :cond_9

    .line 37
    invoke-interface {v0, v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->a(I)V

    .line 38
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    invoke-interface {v0, v1}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->e(I)V

    :cond_9
    :goto_4
    return-void
.end method

.method private n()V
    .locals 3

    .line 1
    iget-boolean v0, p0, Lcom/estrongs/android/view/music/b;->k:Z

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Landroid/content/ContextWrapper;

    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->i:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/content/ContextWrapper;-><init>(Landroid/content/Context;)V

    .line 3
    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/estrongs/android/pop/app/AudioPlayerService;

    invoke-direct {v1, v0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 4
    invoke-virtual {v0, v1}, Landroid/content/ContextWrapper;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    const/4 v0, 0x1

    .line 5
    iput-boolean v0, p0, Lcom/estrongs/android/view/music/b;->k:Z

    .line 6
    :cond_0
    invoke-direct {p0}, Lcom/estrongs/android/view/music/b;->k()V

    return-void
.end method


# virtual methods
.method public a()Lcom/estrongs/android/pop/app/f0;
    .locals 1

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    return-object v0
.end method

.method public a(Landroid/content/Context;)V
    .locals 0

    .line 6
    iput-object p1, p0, Lcom/estrongs/android/view/music/b;->i:Landroid/content/Context;

    .line 7
    invoke-direct {p0}, Lcom/estrongs/android/view/music/b;->n()V

    return-void
.end method

.method public a(Lcom/estrongs/android/view/music/b$f;)V
    .locals 0

    .line 17
    iput-object p1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    return-void
.end method

.method protected b()V
    .locals 2

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/view/music/b;->e:Z

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/view/music/b;->c()V

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/android/view/music/b;->e()V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v0, :cond_0

    .line 6
    invoke-direct {p0}, Lcom/estrongs/android/view/music/b;->l()V

    goto :goto_0

    .line 7
    :cond_0
    invoke-direct {p0}, Lcom/estrongs/android/view/music/b;->l()V

    .line 8
    :goto_0
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->i:Landroid/content/Context;

    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->n:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->i:Landroid/content/Context;

    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->o:Landroid/content/BroadcastReceiver;

    invoke-virtual {v0, v1}, Landroid/content/Context;->unregisterReceiver(Landroid/content/BroadcastReceiver;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1

    :catch_0
    nop

    .line 10
    :goto_1
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v0, :cond_1

    .line 11
    invoke-direct {p0, v0}, Lcom/estrongs/android/view/music/b;->a(Lcom/estrongs/android/pop/app/f0;)V

    :cond_1
    return-void
.end method

.method public c()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v0

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/f0;->a(Z)V

    goto :goto_0

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->a()V

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/f0;->a(Z)V

    :cond_1
    :goto_0
    return-void
.end method

.method public d()V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v0, :cond_3

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->m:Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/f0;->a(Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->g()I

    move-result v0

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v1

    if-eqz v1, :cond_0

    .line 7
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v1, :cond_3

    iget-boolean v2, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v2, :cond_3

    .line 8
    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->a(I)V

    goto :goto_0

    .line 9
    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/f0;->s()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 10
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v1, :cond_3

    iget-boolean v2, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v2, :cond_3

    .line 11
    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->e(I)V

    goto :goto_0

    .line 12
    :cond_1
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v1, :cond_3

    iget-boolean v2, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v2, :cond_3

    .line 13
    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->f(I)V

    goto :goto_0

    .line 14
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v0

    if-eqz v0, :cond_3

    .line 15
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->g()I

    move-result v0

    .line 16
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v1, v0}, Lcom/estrongs/android/pop/app/f0;->b(I)Z

    .line 17
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v1, :cond_3

    iget-boolean v2, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v2, :cond_3

    .line 18
    invoke-interface {v1, v0}, Lcom/estrongs/android/pop/app/PopAudioPlayer$n0;->e(I)V

    :cond_3
    :goto_0
    return-void
.end method

.method protected e()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v0

    iput-boolean v0, p0, Lcom/estrongs/android/view/music/b;->f:Z

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Lcom/estrongs/android/view/music/b;->f:Z

    if-nez v0, :cond_0

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->w()V

    .line 6
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v0, :cond_1

    iget-boolean v1, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v1, :cond_1

    .line 7
    invoke-virtual {v0}, Lcom/estrongs/android/view/music/b$f;->b()V

    :cond_1
    return-void
.end method

.method public f()Z
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 2
    :cond_0
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->k()Les/to;

    move-result-object v0

    if-nez v0, :cond_1

    return v1

    .line 3
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v0

    if-eqz v0, :cond_2

    goto :goto_0

    .line 4
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->t()V

    goto :goto_1

    .line 5
    :cond_3
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v0

    if-eqz v0, :cond_4

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->v()V

    goto :goto_1

    .line 7
    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->x()Z

    :goto_1
    const/4 v0, 0x1

    return v0
.end method

.method public g()V
    .locals 7

    .line 1
    :try_start_0
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    .line 2
    invoke-static {}, Les/wo;->j()Les/wo;

    move-result-object v1

    .line 3
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->G()Ljava/lang/String;

    move-result-object v2

    const/4 v3, 0x0

    .line 4
    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v4

    if-nez v4, :cond_1

    .line 5
    invoke-virtual {v1}, Les/wo;->b()Ljava/util/List;

    move-result-object v4

    if-eqz v4, :cond_1

    .line 6
    invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_0
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_1

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Les/to;

    .line 7
    invoke-virtual {v5}, Les/to;->b()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v6, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_0

    move-object v3, v5

    :cond_1
    if-nez v3, :cond_2

    .line 8
    invoke-virtual {v1}, Les/wo;->a()Les/to;

    move-result-object v3

    .line 9
    :cond_2
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v1, :cond_3

    .line 10
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v1, v3}, Lcom/estrongs/android/pop/app/f0;->a(Les/to;)Z

    .line 11
    :cond_3
    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->F()Ljava/lang/String;

    move-result-object v0

    .line 12
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    const/4 v2, 0x0

    if-nez v1, :cond_5

    .line 13
    invoke-virtual {v3}, Les/to;->d()Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    const/4 v3, 0x0

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_5

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Les/so;

    .line 14
    iget-object v4, v4, Les/so;->b:Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_4

    goto :goto_1

    :cond_4
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_5
    const/4 v3, 0x0

    .line 15
    :goto_1
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v0, :cond_6

    iget-boolean v0, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v0, :cond_6

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    invoke-virtual {v0, v3, v2}, Lcom/estrongs/android/view/music/b$f;->a(IZ)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v0

    .line 17
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    :cond_6
    :goto_2
    return-void
.end method

.method public h()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->o()I

    move-result v0

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v1

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v2}, Lcom/estrongs/android/pop/app/f0;->y()V

    .line 5
    iget-object v2, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v2, :cond_0

    iget-boolean v3, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v3, :cond_0

    xor-int/lit8 v1, v1, 0x1

    .line 6
    invoke-virtual {v2, v0, v1}, Lcom/estrongs/android/view/music/b$f;->a(IZ)V

    :cond_0
    return-void
.end method

.method public i()V
    .locals 8

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    if-eqz v0, :cond_5

    .line 2
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->k()Les/to;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result v0

    const/4 v1, 0x0

    const/4 v2, 0x1

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result v0

    if-eqz v0, :cond_2

    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->s()Z

    move-result v0

    if-eqz v0, :cond_3

    :cond_2
    const/4 v0, 0x1

    goto :goto_0

    :cond_3
    const/4 v0, 0x0

    :goto_0
    if-eqz v0, :cond_4

    .line 4
    iget-object v3, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v3}, Lcom/estrongs/android/pop/app/f0;->f()J

    move-result-wide v3

    const-wide/16 v5, 0x1388

    cmp-long v7, v3, v5

    if-lez v7, :cond_4

    .line 5
    invoke-virtual {p0}, Lcom/estrongs/android/view/music/b;->j()V

    const/4 v1, 0x1

    :cond_4
    if-nez v1, :cond_5

    .line 6
    iget-object v1, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/f0;->p()I

    move-result v1

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    invoke-virtual {v2}, Lcom/estrongs/android/pop/app/f0;->y()V

    .line 8
    iget-object v2, p0, Lcom/estrongs/android/view/music/b;->j:Lcom/estrongs/android/view/music/b$f;

    if-eqz v2, :cond_5

    iget-boolean v3, p0, Lcom/estrongs/android/view/music/b;->e:Z

    if-nez v3, :cond_5

    .line 9
    invoke-virtual {v2, v1, v0}, Lcom/estrongs/android/view/music/b$f;->a(IZ)V

    :cond_5
    return-void
.end method

.method public j()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/view/music/b;->a:Lcom/estrongs/android/pop/app/f0;

    const-wide/16 v1, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/pop/app/f0;->a(J)V

    return-void
.end method
